package com.hoshiicloud.market.param.market;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serializable;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
/**
* <p>
* 新增活动明细参数
* </p>
*
* @author campchen
* @since 2019-05-14
*/

@Data
@ApiModel(value="新增活动明细", description="新增活动明细")
public class MarketingDetailAddParam implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "活动ID",required=true)
    private Long marketid;
    
    @ApiModelProperty(value = "spu",required=true)
    private Long spuId;
    
    @ApiModelProperty(value = "sku",required=true)
    private Long skuId;
    
    @ApiModelProperty(value = "单人限购数量",required=true)
    private Long perLimits;
    
    @ApiModelProperty(value = "总限购数量",required=true)
    private Long limits;
    
    @ApiModelProperty(value = "原价格",required=true)
    private BigDecimal unitprice;
    
    @ApiModelProperty(value = "折扣价",required=true)
    private BigDecimal discount;
    
    @ApiModelProperty(value = "奖励积分数",required=true)
    private Long rewardPoints;
    
    @ApiModelProperty(value = "奖励购物券张数",required=true)
    private Long rewardCoupon;
    
    @ApiModelProperty(value = "购物券面额",required=true)
    private BigDecimal couponPrice;

    @ApiModelProperty(value = "创建人")
    private String createdby;
    
    
    
    @ApiModelProperty(value = "是否删除")
    private Integer deleted;
    

}
